package com.ananjt.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenanhai
 * @since 2020-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sp_user")
public class SpUser extends Model<SpUser> {

    private static final long serialVersionUID=1L;

    private String id;

    private String userName;

    private String password;

    private String loginName;

    private String status;

    private Integer mobile;

    private String emile;

    private LocalDateTime createDate;

    private String remark;

    private LocalDateTime updateDate;

    private Integer deleteFlag;

    private String createBy;

    private String updateBy;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
